package org.zachary.creditbusiness.hotel.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 入住率预测表，对应 mysql 表 hotel_occupancy
 * create table hotel_occupancy …                           :contentReference[oaicite:3]{index=3}
 */
@Data
@TableName("hotel_occupancy")
public class OccupiedRate {
    @TableId
    private Integer id;

    private Integer hotelId;
    private LocalDateTime startDate;
    private Float day1;
    private Float day2;
    private Float day3;
    private Float day4;
    private Float day5;
    private Float day6;
    private Float day7;
    private Integer delete;  // 对应表中的 `delete` 字段
}